package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-10-25 16:39
*/
 

@Data
@TableName(value = "t_member_report")
@Accessors(chain = true)
public class TMemberReport {
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 举报人昵称
     */
    @ApiModelProperty("举报人昵称")
    @TableField(value = "source_name")
    private String sourceName;

    /**
     * 举报人id
     */
    @ApiModelProperty("举报人id")
    @TableField(value = "source_id")
    private Long sourceId;

    /**
     * 被举报人昵称
     */
    @ApiModelProperty("被举报人昵称")
    @TableField(value = "target_name")
    private String targetName;

    /**
     * 被举报人id
     */
    @ApiModelProperty("被举报人id")
    @TableField(value = "target_id")
    private Long targetId;

    /**
     * 举报内容
     */
    @ApiModelProperty("举报内容")
    @TableField(value = "report_content")
    private String reportContent;

    /**
     * 附件图片
     */
    @ApiModelProperty("附件图片")
    @TableField(value = "img")
    private String img;

    /**
     * 状态0待处理 1已禁用 2不处理
     */
    @ApiModelProperty("状态0待处理 1已禁用 2不处理")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField(value = "add_time")
    private Date addTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "upd_time")
    private Date updTime;
}